Fix compiler warnings
authorKristian Rietveld <kris@gtk.org>
Sat, 5 Sep 2009 14:59:17 +0000 (16:59 +0200)
committerKristian Rietveld <kris@gtk.org>
Sat, 5 Sep 2009 15:15:43 +0000 (17:15 +0200)
gtk/gtktreemodelfilter.c
gtk/tests/filtermodel.c

index 2dd41ef7f2ff9b3c3da020166c122e5d05b0471f..1199598e3964f1e40b36d8a09a7115173a5b8ec2 100644 (file)
@@ -1292,7 +1292,6 @@ gtk_tree_model_filter_row_changed (GtkTreeModel *c_model,
   /* make sure the new item has been pulled in */
   if (!filter->priv->root)
     {
-      gint i;
       FilterLevel *root;
 
       gtk_tree_model_filter_build_level (filter, NULL, NULL, FALSE);
index 3f5cfb07f7727b4b25e67316f71b59c14db492f5..52e4afc55b5f3ed381da17d8d710e075de08c388 100644 (file)
@@ -737,6 +737,7 @@ set_path_visibility (FilterTest  *fixture,
                       -1);
 }
 
+#if 0
 static void
 insert_path_with_visibility (FilterTest  *fixture,
                              const gchar *path_string,
@@ -757,6 +758,7 @@ insert_path_with_visibility (FilterTest  *fixture,
     }
   gtk_tree_path_free (path);
 }
+#endif
 
 /*
  * The actual tests.